Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use data converter if search attribute value is of Payload type #913

Merged
merged 2 commits into from
Oct 31, 2022

Conversation

alexshtin
Copy link
Member

What was changed

Don't use data converter if search attribute value is of Payload type.

Why?

WorkflowInfo contains search attributes with values encoded in Payload. To start child workflow with same search attributes, workflow code needs to decode them and then set it back. To do this, it must know all name and types which is not always possible. This is small workaround which allows to copy search attributes from current workflow to child.

@alexshtin alexshtin requested a review from a team as a code owner September 17, 2022 00:42
@alexshtin alexshtin requested a review from cretz September 17, 2022 00:42
@alexshtin alexshtin enabled auto-merge (squash) September 19, 2022 20:53
@alexshtin alexshtin merged commit 67b4c87 into temporalio:master Oct 31, 2022
@alexshtin alexshtin deleted the feature/sa-payload branch October 31, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants